package cn.iocoder.yudao.module.ent.controller.admin.followrecord.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "企业大数据 - 跟进记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FollowRecordPageReqVO extends PageParam {

    @Schema(description = "EntCid", example = "9619")
    private String entId;

    @Schema(description = "跟进类型", example = "1")
    private String type;

    @Schema(description = "号码")
    private String number;

    @Schema(description = "标记内容")
    private String tag;

    @Schema(description = "跟进内容")
    private String remark;

    @Schema(description = "外呼通话记录PK", example = "25968")
    private Long callLogId;

    @Schema(description = "外呼状态", example = "1")
    private Boolean callStatus;

    @Schema(description = "外呼录音地址", example = "https://www.iocoder.cn")
    private String callRecordUrl;

    @Schema(description = "负责人编号", example = "17565")
    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private List<String> typeList;

}